package com.google.code.virtualhockey.vhx.shared.rpc;

/**
 * Special interface that needs to be implemented by classes that provide
 * security tokens on the client side. These tokens could then be used by the
 * server to discover CSRF attacks.
 */
public interface ISecurityTokenProvider
{
  /**
   * Produces a security token that is sent as argument in GWT/RPC requests.
   * Usually obtained from a cookie.
   */
  public String getClientSecurityToken();
}
